<?php
	include '../business/model/model.php';
	include '../business/model/const.php';
	session_start();
	$user = $_SESSION["user"];

	if ($user == null) {
		header("Location:a_login.php");
	}
?>

<!--top-->
<div class="box_top">
	<div id="user_info">您好：<?php echo$user->getUserName()?>&nbsp;&nbsp;<a href="auth_action.php?action=logout">登出</a></div>
	<div class="nav">
		<ul>
			<li><a href="new_edit.php">添加新闻</a></li>
			<li><a href="add_product.php">添加产品</a></li>
			<li><a href="new_list.php">新闻维护</a></li>
			<li><a href="product_list.php">产品维护</a></li>
		</ul>
	</div>
</div>